<?php

namespace mpend\modules\cms\controllers;

use Yii;
use mpend\components\Controller;
use mpend\modules\cms\models\MatchArticleSearch;

/**
 * 页面tabs
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class MatchController extends Controller {

    /**
     * @inheritdoc
     */
    protected function verbs() {
        return [
            '*' => ['GET']
        ];
    }

    /**
     * @inheritdoc
     */
    public function actionIndex() {
        $model = new MatchArticleSearch();
        $model->pagesize = false;
        $model->limitSize = 4;
        return $model->search();
    }

}
